Longest Unoccupied

Syntax samples

LU {<expression>}

Description

Selects one of the locations listed in a block of routings based on which has been unoccupied the longest. If several multi-capacity locations all have one or more current entities, the location with the most available capacity will be selected. If no capacity is available at any location, the first one that becomes available is selected. This rule is useful in situations where residual effects must diminish before further usage of a location (e.g., an oven cooling to an ambient temperature, the vapor clearing out of a paint booth, etc.).

Please note that this routing rule is not valid for single-capacity locations

Valid In

The rule field of the Routing edit table only.

Components

<expression>

The total entities output from the process. This expression is valid only for the first routing of a routing block. For more information on this expression, see Processing.

Example

After EntA completes a 2.5 minute operation at Loc1, it routes to Loc2, Loc3 or Loc4 depending on the location unoccupied the longest.

Process Table

Entity

Location

Operation (min)

EntA

Loc1

WAIT 2.5

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

Plane

Gate1

LU 1

MOVE FOR 2

Plane

Gate2

LU

MOVE FOR 2

Plane

Gate3

LU

MOVE FOR 2

Plane

Gate4

LU

MOVE FOR 2

Routing Table

Blk

Output

Destination

Rule

Move Logic

1

EntA

Loc2

LU 1

 

EntA

Loc3

LU

 

EntA

Loc4

LU

 

See Also

Processing.